package com.wlyuan.open.scanner.domain.order.mapping;

import org.mapstruct.Mapping;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

/**
 * @author lijing
 * @description
 */
@Retention(RetentionPolicy.CLASS)
@Mapping(target = "requirement.pick", source = "indexPick")
@Mapping(target = "requirement.deliver", source = "indexDelivery")
@Mapping(target = "requirement.onLoad", source = "indexOnload")
@Mapping(target = "requirement.offLoad", source = "indexOffload")
@Mapping(target = "requirement.shipMode", source = "indexShipmode")
@Mapping(target = "requirement.chargeMode", source = "indexChargemode")
@Mapping(target = "requirement.insure", source = "indexInsurance")
@Mapping(target = "requirement.transportMode", source = "indexTransportmode")
@Mapping(target = "requirement.priceUnit", source = "indexPriceunit")
@Mapping(target = "requirement.goodsCategory", source = "indexGoodscategory")
@Mapping(target = "requirement.packageMode", source = "indexPackagemode")
public @interface RequirementMapping {
}
